// 基于template/src/views/{{appModules}}/{{pages@DEEDITVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IEditViewModel } from "@/core/interface/view/model";
function getModel(): IEditViewModel {
  return {
    caption: "视图加载打开文档（界面逻辑）、执行加载草稿（界面行为）、打印信息（脚本）；视图关闭：打印",
    title: "视图界面逻辑_视图事件",
    capPSLanguageRes: "DE.LNAME.IBIZBOOK",
    titlePSLanguageRes: "",
    showDataInfoBar: true,
    codeName: 'IBIZBOOKUsr0309927034EditView',
    uiEngineModel: [
                {
                    name: 'VIEW_EVENT_LOGIC',
                    triggerType: 'VIEWEVENT',
                    logicType: 'DEUILOGIC',
                    eventNames: 'onViewMounted',
                    scriptCode: ``,
                    logicName:`OpenYuQue`,
                    logicTag: '',
                    eventArg: '',
                    eventArg2: '',
                    timer: 0,
                    psViewCtrlName: '',
                    entityCodeName: 'IBIZOrder',
                },
                {
                    name: 'VIEW_EVENT_SCRICT',
                    triggerType: 'VIEWEVENT',
                    logicType: 'SCRIPT',
                    eventNames: 'onViewMounted;onViewDestroyed',
                    scriptCode: `console.log('视图加载|视图销毁')`,
                    logicName:``,
                    logicTag: '',
                    eventArg: '',
                    eventArg2: '',
                    timer: 0,
                    psViewCtrlName: '',
                    entityCodeName: '',
                },
                {
                    name: 'VIEW_ENENT_UIACTION',
                    triggerType: 'VIEWEVENT',
                    logicType: 'APPVIEWUIACTION',
                    eventNames: 'onViewMounted',
                    scriptCode: ``,
                    logicName:``,
                    logicTag: '',
                    eventArg: '',
                    eventArg2: '',
                    timer: 0,
                    psViewCtrlName: '',
                    uIActionTag: 'loadbook',
                    entityCodeName: 'IBIZBOOK',
                }
        ],
    ctrls: [
        {
            name: 'toolbar',
            codeName: 'Usr0309927034EditViewtoolbar',
            controlType: 'TOOLBAR',
        },
        {
            name: 'form',
            codeName: 'Usr0309820770',
            controlType: 'FORM',
        }
    ],
    ctrlParams: {
        IBIZBOOKtoolbar: {},
        IBIZBOOKform: {},
    },
    cssName: "",
    name: "IBIZBOOKUsr0309927034EditView",
    viewType: "DEEDITVIEW",
    viewStyle: "DEFAULT",
    showCaption: true,
    isLoadDefault: true,
    entityCodeName: "IBIZBOOK",
    keyPSAppDEField: "IBIZBOOKId",
    majorPSAppDEField: "IBIZBOOKName",
    expandSearchForm:false,
    toolbarItems: [
    ],
    toolbarLogics: [
        ]     ,
    xDataCtrlName: "form",
    quickSearchPlaceholder: ['图书名称',].join(","),
    useDefaultLayout: true,
  }
}
export const model = getModel();
